package edu.zhku.ttms.service;

import edu.zhku.ttms.domain.TrafficPoliceman;

import java.util.List;

/**
 * @author 泽
 * @since 2021/4/19 11:32
 */
public interface TrafficPolicemanService {

    TrafficPoliceman getById(Long id);

    TrafficPoliceman getByCode(String policeCode);

    List<TrafficPoliceman> getList();

    List<TrafficPoliceman> getList(String str);

    String save(TrafficPoliceman trafficPoliceman);

    String add(TrafficPoliceman trafficPoliceman);

    int removeById(Long policeCode);
}
